package net.wzw.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * @author wzw
 * @date 2025/4/25
 * @Description
 */
@Data
@EqualsAndHashCode(callSuper = false) //当且仅当比较父类
@TableName("user_relation")
public class UserRelationDO implements Serializable {

    private static final long serialVersionUID = 1L;

    /*
     * Description: 主键id
     * @param null
     * @Return: {@link null}
     * @Author: Administrator
     * @Date: 2025/4/25 16:46
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    /**
     * 用户id
     */
     private Integer userId;

    /**
     * 关注数
     */
    private Integer attentionCount;

    /**
     * 粉丝数
     */
    private Integer followerCount;


}
